﻿#imgPopUp{
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
   /* width: auto;*/
    max-width: 100%;
    /*height: 100%;
    max-height: 90vh;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
  /*  max-width: none;
    max-height: none; */
}

/*#imgPopUp:hover {opacity: 0.9;}*/

/* The Modal (background) */
.modalPopUp {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index:  9999999; /* Sit on top */
    padding-top: 10px; /* Location of the box*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
   /* overflow: auto;  Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color*/
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    display: none;
    animation-name: zoom;
    animation-duration: 0.3s;
}

/* Modal Content (image) */
.modalPopUp-content {
    margin: auto;
    display: block;
  /*  width: 100%;*/
    min-width: 80%;
    max-height:100%;
}

/* Caption of Modal Image
#caption_close {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
} */

/* Add Animation 
.modalPopUp-content, #caption_close {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.3s;
    animation-name: zoom;
    animation-duration: 0.3s;
}*/

*/

/* Add Animation 
.modalPopUp-content, #caption_close {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.3s;
    animation-name: zoom;
    animation-duration: 0.3s;
}*/

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close_popup {
    position: absolute;
    top: 0px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor:pointer;
    z-index:9999999999;
    overflow:visible;
    		
}

.close_popup :hover,
.close_popup :focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.btn-close{
	display:none;
}

/* 100% Image Width on Smaller Screens 
@media only screen and (max-width: 991px){
    .modalPopUp-content {
    	width: 100%;
        min-width: 50%;
        margin-top:10%;
    }
    
    .btn-close{
	display:block;
	}

}*/

.cursor_popup{

cursor:pointer;
}

#detallenoticia .cursor_popup{
  width:283px !important;
  height:172px;

}

img .cursor_popup{
  width:283px !important;
  height:172px;

}

section .cursor_popup{
  width:283px !important;
  height:172px;

}





@media (max-width: 991px) {

#imgPopUp {
  
  width: 80%;
}

#detallenoticia .cursor_popup{
  width:100% !important;
  height:auto;
} 

img .cursor_popup{
  width:100% !important;
  height:auto;

}

section .cursor_popup{
  width:100% !important;
  height:auto;

}


 }